<!DOCTYPE html>
<!--[if IE 8]> <html lang="en" class="ie8"> <![endif]-->
<!--[if IE 9]> <html lang="en" class="ie9"> <![endif]-->
<!--[if !IE]><!--> <html lang="en"> <!--<![endif]-->
<!-- BEGIN HEAD -->
<head>
    <meta charset="utf-8" />
    <title> | Signup Page</title>
    <meta content="width=device-width, initial-scale=1.0" name="viewport" />
    <meta content="" name="description" />
    <meta content="" name="author" />
    <!-- BEGIN GLOBAL MANDATORY STYLES -->
    <link href="<?php echo $this->baseUrl(false).THEME_ASSETS_URL;?>/plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
    <link href="<?php echo $this->baseUrl(false).THEME_ASSETS_URL;?>/plugins/bootstrap/css/bootstrap-responsive.min.css" rel="stylesheet" type="text/css"/>
    <link href="<?php echo $this->baseUrl(false).THEME_ASSETS_URL;?>/plugins/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css"/>
    <link href="<?php echo $this->baseUrl(false).THEME_ASSETS_URL;?>/css/style-metro.css" rel="stylesheet" type="text/css"/>
    <link href="<?php echo $this->baseUrl(false).THEME_ASSETS_URL;?>/css/style.css" rel="stylesheet" type="text/css"/>
    <link href="<?php echo $this->baseUrl(false).THEME_ASSETS_URL;?>/css/style-responsive.css" rel="stylesheet" type="text/css"/>
    <link href="<?php echo $this->baseUrl(false).THEME_ASSETS_URL;?>/css/themes/default.css" rel="stylesheet" type="text/css" id="style_color"/>
    <link href="<?php echo $this->baseUrl(false).THEME_ASSETS_URL;?>/plugins/uniform/css/uniform.default.css" rel="stylesheet" type="text/css"/>
    <link rel="stylesheet" type="text/css" href="<?php echo $this->baseUrl(false).THEME_ASSETS_URL;?>/plugins/select2/select2_metro.css" />
    <!-- END GLOBAL MANDATORY STYLES -->
    <!-- BEGIN PAGE LEVEL STYLES -->
    <link href="<?php echo $this->baseUrl(false).THEME_ASSETS_URL;?>/css/pages/login.css" rel="stylesheet" type="text/css"/>
    <!-- END PAGE LEVEL STYLES -->
    <link rel="shortcut icon" href="favicon.ico" />
</head>
<!-- END HEAD -->
<!-- BEGIN BODY -->
<body class="login">
<!-- BEGIN LOGO -->
<div class="logo">
    <img src="<?php //echo $this->baseUrl(false).THEME_ASSETS_URL;?>/img/logo-big.png" alt="" />
</div>
<!-- END LOGO -->
<!-- BEGIN LOGIN -->
<div class="content">
<!-- BEGIN REGISTRATION FORM -->
<form class="form-vertical register-form" action="<?php echo $this->url(array('module'=>'default', 'controller'=>'user', 'action'=>'signup'), 'default', true); ?>" method="post">
<h3 ><?php echo $this->translate('Kayıt Ol'); ?></h3>
<p><?php echo $this->translate('Lütfen aşağıdaki tüm alanları eksiksiz doldurunuz.'); ?></p>
    <?php if (!empty($this->messages)) {
    foreach($this->messages as $message){
    ?>
    <div class="alert alert-<?php echo $message['type'];?>">
        <button class="close" data-dismiss="alert"></button>
        <?php echo $message['message'];?>
    </div>
    <?php } }
    print_r($this->formData);
    echo $this->formData['firstname'];
    ?>
<div class="control-group">
    <label class="control-label visible-ie8 visible-ie9"><?php echo $this->translate('Adınız'); ?></label>
    <div class="controls">
        <div class="input-icon left">
            <i class="icon-pencil"></i>
            <input class="m-wrap placeholder-no-fix" type="text" placeholder="<?php echo $this->translate('Adınız'); ?>" name="user[firstname]"/>
        </div>
    </div>
</div>
<div class="control-group">
    <label class="control-label visible-ie8 visible-ie9"><?php echo $this->translate('Soyadınız'); ?></label>
    <div class="controls">
        <div class="input-icon left">
            <i class="icon-pencil"></i>
            <input class="m-wrap placeholder-no-fix" type="text" placeholder="<?php echo $this->translate('Soyadınız'); ?>" name="user[lastname]"/>
        </div>
    </div>
</div>
<div class="control-group">
    <label class="control-label visible-ie8 visible-ie9"><?php echo $this->translate('T.C. Kimlik Numaranız'); ?></label>
    <div class="controls">
        <div class="input-icon left">
            <i class="icon-pencil"></i>
            <input class="m-wrap placeholder-no-fix" type="text" placeholder="<?php echo $this->translate('T.C. Kimlik Numaranız'); ?>" name="user[national_id_number]"/>
        </div>
    </div>
</div>
<div class="control-group">
    <!--ie8, ie9 does not support html5 placeholder, so we just show field title for that-->
    <label class="control-label visible-ie8 visible-ie9"><?php echo $this->translate('E-Posta Adresiniz'); ?></label>
    <div class="controls">
        <div class="input-icon left">
            <i class="icon-envelope"></i>
            <input class="m-wrap placeholder-no-fix" type="text" placeholder="<?php echo $this->translate('E-Posta Adresiniz'); ?>" name="user[usermail]"/>
        </div>
    </div>
</div>
<div class="control-group">
    <label class="control-label visible-ie8 visible-ie9"><?php echo $this->translate('Şifreniz'); ?></label>
    <div class="controls">
        <div class="input-icon left">
            <i class="icon-lock"></i>
            <input class="m-wrap placeholder-no-fix" type="password" autocomplete="off" id="userpass" placeholder="<?php echo $this->translate('Şifreniz'); ?>" name="user[userpass]"/>
        </div>
    </div>
</div>
<div class="control-group">
    <label class="control-label visible-ie8 visible-ie9"><?php echo $this->translate('Şifrenizi Tekrar Giriniz'); ?></label>
    <div class="controls">
        <div class="input-icon left">
            <i class="icon-lock"></i>
            <input class="m-wrap placeholder-no-fix" type="password" autocomplete="off" placeholder="<?php echo $this->translate('Şifrenizi Tekrar Giriniz'); ?>" name="rpassword" id="rpassword"/>
        </div>
    </div>
</div>
<div class="control-group">
    <label class="control-label visible-ie8 visible-ie9"><?php echo $this->translate('Aktivasyon Kodu'); ?></label>
    <div class="controls">
        <div class="input-icon left">
            <i class="icon-font"></i>
            <input class="m-wrap placeholder-no-fix" type="text" placeholder="<?php echo $this->translate('Aktivasyon Kodu'); ?>" name="user[activation_code]"/>
        </div>
    </div>
</div>
<div class="control-group">
    <div class="controls">
        <label class="checkbox">
            <input type="checkbox" id="tnc" name="tnc"/> <?php echo $this->translate('<a href="#">Kullanım Şartları</a>nı okudum ve kabul ediyorum.'); ?>
        </label>
        <div id="register_tnc_error"></div>
    </div>
</div>
<div class="form-actions">
    <!--<button id="register-back-btn" type="button" class="btn">
        <i class="m-icon-swapleft"></i>  Back
    </button>-->
    <button type="submit" id="register-submit-btn" class="btn green pull-right">
        <?php echo $this->translate('Kayıt Ol'); ?> <i class="m-icon-swapright m-icon-white"></i>
    </button>
</div>
</form>
<!-- END REGISTRATION FORM -->
</div>
<!-- END LOGIN -->
<!-- BEGIN COPYRIGHT -->
<div class="copyright">
    <!--2013 &copy; Metronic. Admin Dashboard Template.-->
</div>
<!-- END COPYRIGHT -->
<!-- BEGIN JAVASCRIPTS(Load javascripts at bottom, this will reduce page load time) -->
<!-- BEGIN CORE PLUGINS -->   <script src="<?php echo $this->baseUrl(false).THEME_ASSETS_URL;?>/plugins/jquery-1.10.1.min.js" type="text/javascript"></script>
<script src="<?php echo $this->baseUrl(false).THEME_ASSETS_URL;?>/plugins/jquery-migrate-1.2.1.min.js" type="text/javascript"></script>
<!-- IMPORTANT! Load jquery-ui-1.10.1.custom.min.js before bootstrap.min.js to fix bootstrap tooltip conflict with jquery ui tooltip -->
<script src="<?php echo $this->baseUrl(false).THEME_ASSETS_URL;?>/plugins/jquery-ui/jquery-ui-1.10.1.custom.min.js" type="text/javascript"></script>
<script src="<?php echo $this->baseUrl(false).THEME_ASSETS_URL;?>/plugins/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
<script src="<?php echo $this->baseUrl(false).THEME_ASSETS_URL;?>/plugins/bootstrap-hover-dropdown/twitter-bootstrap-hover-dropdown.min.js" type="text/javascript" ></script>
<!--[if lt IE 9]>
<script src="<?php echo $this->baseUrl(false).THEME_ASSETS_URL;?>/plugins/excanvas.min.js"></script>
<script src="<?php echo $this->baseUrl(false).THEME_ASSETS_URL;?>/plugins/respond.min.js"></script>
<![endif]-->
<script src="<?php echo $this->baseUrl(false).THEME_ASSETS_URL;?>/plugins/jquery-slimscroll/jquery.slimscroll.min.js" type="text/javascript"></script>
<script src="<?php echo $this->baseUrl(false).THEME_ASSETS_URL;?>/plugins/jquery.blockui.min.js" type="text/javascript"></script>
<script src="<?php echo $this->baseUrl(false).THEME_ASSETS_URL;?>/plugins/jquery.cookie.min.js" type="text/javascript"></script>
<script src="<?php echo $this->baseUrl(false).THEME_ASSETS_URL;?>/plugins/uniform/jquery.uniform.min.js" type="text/javascript" ></script>
<!-- END CORE PLUGINS -->
<!-- BEGIN PAGE LEVEL PLUGINS -->
<script src="<?php echo $this->baseUrl(false).THEME_ASSETS_URL;?>/plugins/jquery-validation/dist/jquery.validate.min.js" type="text/javascript"></script>
<script type="text/javascript" src="<?php echo $this->baseUrl(false).THEME_ASSETS_URL;?>/plugins/select2/select2.min.js"></script>
<!-- END PAGE LEVEL PLUGINS -->
<!-- BEGIN PAGE LEVEL SCRIPTS -->
<script src="<?php echo $this->baseUrl(false).THEME_ASSETS_URL;?>/scripts/app.js" type="text/javascript"></script>
<script src="<?php echo $this->baseUrl(false).THEME_ASSETS_URL;?>/scripts/login.js" type="text/javascript"></script>
<!-- END PAGE LEVEL SCRIPTS -->
<script>
    jQuery(document).ready(function() {
        App.init();
        Login.init();



    });
</script>
<!-- END JAVASCRIPTS -->
</body>
<!-- END BODY -->
</html>